//
//  UIImage+Extend.m
//  SmallElephant
//
//  Created by Faith on 2019/1/7.
//  Copyright © 2019 Faith. All rights reserved.
//

#import "NSObject+Extend.h"
#import <objc/runtime.h>

@implementation NSObject (Extend)

- (void)setCustomData:(__strong id)customData {
    objc_setAssociatedObject(self, @selector(customData), customData, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (__strong id)customData {
    return objc_getAssociatedObject(self, @selector(customData));
}

@end
